﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DemoSite
{
    public partial class TestMaster : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lang.SelectedIndexChanged += new EventHandler(lang_SelectedIndexChanged);
            edTheme.SelectedIndexChanged += new EventHandler(edTheme_SelectedIndexChanged);
        }

        void edTheme_SelectedIndexChanged(object sender, EventArgs e)
        {
            ed1.EditorSkin = edTheme.SelectedValue;
        }

        void lang_SelectedIndexChanged(object sender, EventArgs e)
        {
            ed1.Language = lang.SelectedValue;
        }
    }
}
